<template>
  <div>
    <el-form ref="form"
             :inline="true"
             label-width="50px">
      <el-form-item>
        <el-input v-model="input"
                  :placeholder="user"></el-input>
      </el-form-item>
      <el-form-item>
        <el-button type="primary" class="el-icon-search" @click="goSearch"> 查询 </el-button>
        <el-button>清空</el-button>
      </el-form-item>
    </el-form>
        <el-button type="primary">添加</el-button>
        <el-button type="danger">批量删除</el-button>
  </div>
</template>

<script>
export default {
  props: ["user"],
  data () {
    return {
      input: ""
    }
  },
  methods:{
    //搜索
    goSearch(){},
  }
}
</script>

<style scoped>
</style>